package com.situ.mall.service;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import com.situ.mall.common.ServerResponse;
import com.situ.mall.entity.Product;

public interface IProductService {

	ServerResponse getList(Integer page,Integer limit);

	ServerResponse deleteProductById(Integer id);

	ServerResponse insert(Product product);

	Product toUpdateProduct(Integer id);

	int findTopId(int categoryId);

	ServerResponse updateByPrimaryKey(Product product);

	ServerResponse deleteAll(String ids);

	Product selectById(Integer productId);

	List<Product> selectProductListPage(Integer categoryId);

	void exportExcel(HttpServletResponse response);


}
